package com.mydemo.springlearning.functions.spi.java;

import com.mydemo.springlearning.common.entity.ServerResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hwx
 * @date 2022-07-22 18:03
 * @description
 */
@RestController
@RequestMapping("multi")
public class MultiImplController {

    @Autowired
    ActSomething orderInfoDao;

    @RequestMapping("test")
    public ServerResponse accessLimit() {
        return ServerResponse.success(orderInfoDao.doPrint());
    }

}
